class my{
	public static void main(String[] args){
	int i=3;
	int j=5;
	int k=max(i,j);
	System.out.println("the maximum of"+i+ "and"+j+" is" + k);
}

		public static int max(int n1,int n2){
	int result;
	if(n1>n2)
	result=n1;
	else
	result=n2;
return result;
}
}
